package com.safety.web.service.impl;

import com.safety.web.dao.HomeListDao;
import com.safety.web.entity.HomeList;
import com.safety.web.service.HomeListService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by pinky on 2016/12/9.
 *
 */
@Service("HomeList")
public class HomeListServiceImpl implements HomeListService {
    @Resource
    private HomeListDao homeListDao;


    @Override
    public List<HomeList> homePicList() {
        return homeListDao.homePicList();
    }

    @Override
    public List<HomeList> selectAskDoctor() {
        return homeListDao.selectAskDoctor();
    }

}
